package top.cluski.feieprint.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Map;

@Configuration
@ConfigurationProperties(prefix = "feie")
@Data
public class FeiEConfig {
    List<MultilineConfig> multiline;
    String template;
    Map<String, Printer> printers;

    @Data
    public static class MultilineConfig {
        String column;
        Integer splitCount;
    }

    @Data
    public static class Printer {
        String user;
        String ukey;
        String sn;
    }
}
